package com.google.denta.service;

import java.util.List;

import com.google.denta.entity.Role;

/**
 * Role service.
 * @author DMGCODeviL
 */
public interface RoleService {

    /** Get all roles.
     * @return list of roles*/
    List<Role> getRoles();

    /** Get role by id.
     * @param id of role
     * @return role with id*/
    Role getRole(Long id);
}
